<template>
    <van-tabbar active-color="red" :router="true" v-model="active">
    <van-tabbar-item to="/home" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item to="/fenlei" icon="search">分类</van-tabbar-item>
    <van-tabbar-item to="/gouwuche" icon="friends-o" dot=''>购物车</van-tabbar-item>
    <van-tabbar-item to="/wode" icon="setting-o">未登录</van-tabbar-item>
  </van-tabbar>
</template>
<script name="asd" lang="ts" setup>
    import { ref } from 'vue';
    const active = ref<string>('home')
</script>
<style></style>